package com.hongyi.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongyi.mapper.RegionMapper;
import com.hongyi.pojo.Region;
import com.hongyi.service.RegionService;
import com.hongyi.vo.RegionVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-27
 */

@Service
public class RegionServiceImpl extends ServiceImpl<RegionMapper,Region> implements RegionService {
  @Autowired
  private RegionMapper regionMapper;

    @Override
    public List<RegionVO> getAll() {
        return regionMapper.getAll();
    }
}
